# -*- coding = utf-8 -*-
# @Time : 2020/12/5 16:50
# @Author : 家幸
# @File : demo8.py
# @Software : PyCharm

# nameList = [] #定义一个空的列表

# nameList = ["小张","小王","小李"]
# print(nameList)
# print(nameList[1])

# nameList = ["小张","小王","小李"]  #len()可以得到列表的长度
# nameList = [{"name":"小张"},{"name":"小王"},{"name":"小李"}]
# for i in nameList:
#     print(i)


# 增: [append]

# 删: del pop remove

